package com.zjp.baseDemo.controller;

import com.zjp.baseDemo.domain.ResponseResult;
import com.zjp.baseDemo.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PermissionController {
    @Autowired
    private PermissionService wwwService;
    @GetMapping("/permission")
    public ResponseResult getPermission(){
        return wwwService.getPermission();
    }
}
